import request from '@/utils/request'

// 查询岗位列表
export function listPost(query) {
  return request({
    url: '/passenger/trip/list',
    method: 'get',
    params: query
  })
}
export function addOrder(startName,endName) {
  return request({
    url: '/user/passenger/send?startName='+startName+'&endName='+endName,
    method: 'post',
  })
}

